<template>
  <h2 class="title">
    <span>
      <i class="dot"></i>
      {{title}}
    </span>
  </h2>
</template>

<script>
  export default {
    name: 'AppTitle',
    props: {
      title: {
        type: String,
        required: true
      }
    }
  }
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  h2{
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #456ec0;
    &>span{
      display: inline-block;
      padding: 6px 8px 8px 6px;
      border-bottom: 4px solid #456ec0;
      font-size: 16px;
      font-weight: 700;
      color: #456ec0;
      .dot{
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-right: 0px;
        border-radius: 100%;
        background-color: #edd006;
      }
    }
  }
</style>
